package com.sinodoggo.shitcloud.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author sinodoggo
 * @since 2022-11-20
 */
@Getter
@Setter
@TableName("t_user")
@ApiModel(value = "User对象", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Alias("昵称")
    private String nickName;
    @Alias("用户名")
    private String userName;
    @Alias("密码")
    private String password;
    @Alias("邮箱")
    private String email;
    @Alias("电话")
    private String phone;
    @Alias("创建时间")
    private Date createTime;
    @Alias("头像URL")
    private String avatar;
    @Alias("用户角色")
    private String role;
}
